package com.gulimall.authserver.feign;

import com.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author kkk
 * @date 2022/7/30
 */
@FeignClient("gulimall-third-party")
public interface ThreadPartFeignService {
    @GetMapping("/send/sms")
    public R sendSms(@RequestParam String phoneNumber, @RequestParam String code);
}
